﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ApprovalFlowList.aspx.cs" Inherits="SystemMangement_ApprovFlow_ApprovalFlowList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 <link href="../../Includes/Guide.css" type="text/css" rel="stylesheet" />
    <link href="../../Includes/index.css" type="text/css" rel="stylesheet" />
    <link href="../../Includes/MasterPage.css" type="text/css" rel="stylesheet" />
    <link href="../../Includes/xtree.css" type="text/css" rel="stylesheet" />
    <link href="../../css/MyCss.css" type="text/css" rel="stylesheet" />
    <link href="../../css/Style.css" rel="stylesheet" type="text/css" />
    <title>审批流列表</title>
</head>
<script src="../../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="../../Includes/jquery-1.4.1.js" type="text/javascript"></script>
<script src="../../Includes/MyJScript.js" type="text/javascript"></script>
<script language="javascript" type="text/javascript">

    $(document).ready(function() {
        $("#btnAdd").click(function() {
            parent.PE_FrameTab.AddNew();
            //            window.open('ApprovalFlow.aspx', 'main_right');
            parent.$("#main_right").attr("src", 'SystemMangement/ApprovFlow/ApprovalFlow.aspx');
            return false;
        });
        $("#btnDel").click(function() {
            if (!confirm("是否删除当前单据？"))
                return false;
        });
        $("a").click(function() {
            parent.PE_FrameTab.AddNew();
            //            window.open('ApprovalFlow.aspx?aprvlno=' + $(this).text(), 'main_right');
            parent.$("#main_right").attr("src", 'SystemMangement/ApprovFlow/ApprovalFlow.aspx?sysno=' + $(this).text());
        });

    });

  
</script>
<body>
    <form id="form1" runat="server">
   
    <div class="inputbuttondiv">
<asp:Button ID="btnAdd" runat="server" Text="新增"  CssClass="inputbutton"  />
<asp:Button ID="btnDel" runat="server" Text="删除" 
            CssClass="inputbutton"  />
</div>
<div>
</div>
    <div>
    
            <asp:GridView ID="gvfg_approveFlowMst" runat="server" EnableModelValidation="True" 
                AutoGenerateColumns="False" BackColor="White" Width="1033px">
                <Columns>
                   <asp:TemplateField  HeaderText="选择">
                        <ItemTemplate>
                            <asp:CheckBox ID="chkItem" runat="server" />
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="行号">
                        <ItemTemplate>
                           <%# Container.DataItemIndex+1 %>
                        </ItemTemplate>
                       
                    </asp:TemplateField>
                    <asp:HyperLinkField DataTextField="sysno" HeaderText="流程代码" />
                    <asp:BoundField DataField="approvName" HeaderText="流程名称" />
                    <asp:BoundField DataField="opNo" HeaderText="业务对象代码" />
                    <asp:BoundField DataField="opName" HeaderText="业务对象名称" />
                    <asp:BoundField DataField="remarks" HeaderText="备注" />
                </Columns>
            </asp:GridView>
    
    </div>
   
    </form>
</body>
</html>
